<?php

namespace app\advertisement\controller;

use app\common\controller\PCBase;
use app\BaseController;//测试专用
use app\advertisement\logic\AdvaccountAbnormalLogic;
use think\facade\Db;
use Throwable;
use app\common\library\Upload;

class AdvaccountAbnormal extends PCBase
{


    public function initialize(): void
    {
        parent::initialize();
    }

    /**
     * index
     * @throws Throwable
     */
    public function index()
    {
        $params     = $this->request->post();
        $AdvaccountAbnormalLogic = new AdvaccountAbnormalLogic();
        return $AdvaccountAbnormalLogic->index($params);
    }

    /**
     * 编辑
     * @throws Throwable
     */
    public function edit()
    {
        $post = $this->request->post();
        $AdvaccountAbnormallogLogic = new AdvaccountAbnormalLogic();
        // $result = $AdvaccountAbnormallogLogic->edit($post);
        // return $result;
    }

    /**
     * export
     * @throws Throwable
     */
    public function export()
    {
        $params     = $this->request->post();
        $AdvaccountAbnormalLogic = new AdvaccountAbnormalLogic();
        return $AdvaccountAbnormalLogic->export($params);
    }

    /**
     * 确认
     * @throws Throwable
     */
    public function confirm()
    {
        $post = $this->request->post();
        $AdvaccountAbnormalLogic = new AdvaccountAbnormalLogic();
        $result = $AdvaccountAbnormalLogic->confirm($post);
        return $result;
    }
}
